package com.allinpay.merchantweb.service;

import java.util.Map;

import com.allinpay.merchantweb.common.exception.ViewException;
import com.allinpay.merchantweb.redismodel.RedisLoginParam;
import com.allinpay.merchantweb.response.ResponseMessage;
/**
 * 短信业务服务
 * @author Administrator
 *
 */
public interface IMessageService {
	
	/**
	 * 获取短信验证码
	 * @param map
	 * @return
	 */
	public ResponseMessage obtainVerifyCode(Map map,String sessionid) throws ViewException ;
	
	/**
	 * 通过手机验证码注册或登陆
	 * @param map
	 * @return
	 * @throws ViewException
	 */

	ResponseMessage loginByVerifyCode(Map map, RedisLoginParam param) throws ViewException;

}
